package com.example.xueshen.common.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.xueshen.common.entity.Ban;
import com.example.xueshen.common.entity.Students;
import com.example.xueshen.common.entity.Teacher;

import java.util.List;

public interface   BanService {
    List<Ban> selectAllByPlus();
    Ban selectOneById(Integer bid);
    boolean update(Ban ban);
    Page<Ban> selectAllByPlusAndPage(Page<Ban> page);

    Page<Ban> selectBy(Page<Ban> page, QueryWrapper<Ban> queryWrapper);

    boolean updateById(Ban ban);
    Boolean insert(Ban ban);
    boolean deleteById(Integer tid);
}
